﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CZBK.ShopHeima2.IDAL
{
    public interface IDbSession
    {
        IProductRepository ProductRepository { get; set; }
        IUserInfoRepository UserInfoRepository { get; set; }

        int ExecuteSql(string strSql, SqlParameter[] paras);

        int SavaChanges();
    }
}
